<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html >
<html lang="en">
<head>
<%@include file="../../../common/includeBaseSet.jsp" %>
<%@include file="../../../common/includeSystemSet.jsp" %>
<%@include file="../../../../common/operation_forbid.jsp" %>
<%@include file="../../../../common/jsVersion.jsp" %>
<script type="text/javascript">
	var qType = '${qType}';
</script>
</head>
<body>
<div class="page-content">
		<div class="row-fluid">	
			<div class="col-xs-12 panel panel-success">
		  <form id="baseForm" class="form-horizontal">
		    <input type='hidden' class='pageNum' name='pageNum' value='1'/>
			<input type='hidden' class='pageSize'  name='pageSize' value='10'/>
		   
		         <div class="col-xs-6">
		         	    <div class="form-group">
								<label class="col-xs-2 control-label">流程类别:</label>
								<div class="col-xs-4">
									 <select class="form-control" name="actType">
										<option value="">全部</option>
										<c:forEach var="r" items="${processTypeEnums}">
												<option value="${r.procKey}">${r.procName}</option>
										</c:forEach>
									</select>
								</div>
								
					      </div>
					     <div class="form-group">
					     	<label class="col-xs-2 control-label">项目名称:</label>
								<div class="col-xs-4">
									<select class="form-control" name="projectId">
										<c:forEach var="r" items="${projectList}">
											<option value="${r.id}">${r.projectName}</option>
										</c:forEach>
										<c:if test="${permitBtn == 'true'}">
									    	<option value="">全选</option>
									    </c:if>
									</select>
								</div>
					     </div>
					     
					     <div class="form-group">
							<label class="col-xs-2 control-label">发起人:</label>
							<div class="col-xs-4">
								<input type="text" class="form-control" name="startUserName">
							</div>
							
		         	    </div>
		         	</div>
		         
		             <div class="col-xs-6">
		         	    <div class="form-group">
							<label class="col-xs-2 control-label">客户姓名/手机号:</label>
							<div class="col-xs-4">
								<input type="text" class="form-control" name="customerNameOrPhone">
							</div>
							
		         	    </div>
		         	    <div class="form-group">
		         	    	<label class="col-xs-2 control-label">房号:</label>
								<div class="col-xs-4">
									<input type="text" class="form-control" name="roomName">
							 </div>
		         	    </div>
		         	    
		         	    <div class="form-group">
		         	    	<label class="col-xs-2 control-label"></label>
								<div class="col-xs-4">
								<button id='searchBtn' class="btn btn-warning  btn-xs" title="查询" type="button" onclick="getbaseList(1)"><i class="icon-search bigger-110 icon-only">查询</i></button>
							 </div>
		         	    </div>
		         	    </div>
		         	    
		         	    
		         
		    
		   </form> 
		   </div>
			<div class="col-xs-12">
<!-- 					<form id="baseForm" class="form-inline" method="POST" onsubmit="return false;">
 					<div class="row">
						<div class="widget-main">	
							<input type="text" name="keyWord" placeholder="这里输入关键词"   class="input-large">												
							&nbsp;&nbsp;<button id='searchBtn' class="btn btn-warning  btn-xs" title="刷新" type="button" onclick="getbaseList(1)"><i class="icon-search bigger-110 icon-only">刷新</i></button>
						</div>				
					</div> 
					<input type='hidden' class='pageNum' name='pageNum' value='1'/>
					<input type='hidden' class='pageSize'  name='pageSize' value='10'/>
					</form> -->
					<table id="baseTable" class="table table-striped table-bordered table-hover" >
						<thead>
							<tr>
								<th style="width:3%" class="center">
									<label><input type="checkbox" class="ace" ><span class="lbl"></span></label>
								</th>
								<th style="width:10%" class="center">操作</th> 
								<th style="width:20%"  class="center hidden-480">房号</th>
							    <th style="width:10%" class="center hidden-480">客户姓名</th>
								<th style="width:5%" class="center hidden-480">电话</th> 
								<th style="width:10%" class="center hidden-480">流程名称</th>
								<th style="width:10%" class="center hidden-480">任务名称</th>
								<th style="width:10%" class="center hidden-480">创建时间</th>
								<th style="width:10%" class="center hidden-480">结束日期</th>
								<th style="width:5%" class="center hidden-480">发起人</th>
								<c:if test="${qType!=3}">
								<th style="width:5%" class="center hidden-480">处理状态</th>
								</c:if>
								
							</tr>
						</thead>
						<tbody></tbody>
					</table>
					<div class="row">
<%-- 						<div class="col-sm-4">
							<div class="dataTables_info customBtn" >
								<c:forEach var="pbtn" items="${permitBtn}">						
									<a href="#" title="${pbtn.name}" id="${pbtn.btnId}" class="lrspace3" ><i class='${pbtn.icon} bigger-220'></i></a>
								</c:forEach>
							</div>
						</div> --%>
						<div class="col-sm-8">
							<!--设置分页位置-->
							<div id="pageing" class="dataTables_paginate paging_bootstrap">
								<ul class="pagination"></ul>
							</div>
						</div>
					</div>
			<!-- #dialog-confirm -->
			<%@include file="../../../common/dialog.jsp" %>	
			</div>
		</div>
	</div>	
<script src="${jypath}/static/js/system/workflow/online/myTask-handing-LC.js?v=${jsVersion}"></script>		
</body>
</html>